package com.wmjsoft.view.role

import org.nutz.dao.entity.annotation.*

@Table("role")
class Role {

    @Id
    @Column
    var id: Long? = null


    @Column
    @ColDefine(width = 50, notNull = true)
    @Comment("名字")
    var name: String? = null


    @Column
    @ColDefine( notNull = true)
    @Comment("用户ID")
    var userId: Long? = null
}